const grade = [
  {
    path: 'grade',
    component: () => import(/* webpackChunkName: "platform" */ '@/layout/platform'),
    name: 'Grade',
    redirect: '/grade',
    meta: {
      title: 'sectionManagement',
      icon: 'el-icon-tickets',
      code: 'Grade',
      deleteCode: true
    },
    children: [
      // 考核管理
      {
        path: 'assessment',
        name: 'Assessment',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/grade/assessment/index'),
        meta: { title: 'assessment', icon: 'el-icon-tickets', code: 'Assessment' }
      },
      // 证书管理
      {
        path: 'certificate',
        name: 'Certificate',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/grade/certificate/index'),
        meta: { title: 'certificate', icon: 'el-icon-tickets', code: 'Certificate' }
      },
      // 考级管理
      {
        path: 'level',
        name: 'Level',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/grade/level/index'),
        meta: { title: 'level', icon: 'el-icon-tickets', code: 'Level' }
      }
    ]
  }
];

export default [
  ...grade
];
